﻿using System.Reactive.Disposables;
using ReactiveUI;

namespace Blazor.Core;

public class ViewModelBase: ReactiveObject, IDisposable
{
    protected readonly CompositeDisposable Disposables = new();

    public void Dispose()
    {
        Disposables.Dispose();
    }
}